using System;

namespace Gadgeteer.Interfaces
{
    /// <summary>
    /// Represents the delegate that is used to handle the IButton.ButtonReleased
    /// and IButton.ButtonPressed events.
    /// </summary>
    /// <param name="sender">The Gadgeteer.Modules.GHIElectronics.Button object that raised the event.</param>
    /// <param name="state">The state of the Button</param>
    public delegate void ButtonEventHandler(IButton sender, ButtonState state);
}
